package com.kcht.itsed.mws.extendmodel.jpa;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kcht.itsed.mws.alemodel.ECSpec;
import com.kcht.itsed.mws.extendmodel.jpa.base.BaseEntity;

/**
 * EC规则实体
 * @author zhangwenshuo
 *
 */
@TableName(value = "T_EVENT_CYCLE_SPEC",autoResultMap = true)
public class EventCycleSpecEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@TableField("ECSPEC_NAME")
	protected String ecSpecName;

	@TableField(value = "EC_SPEC",typeHandler = SpecEntityConverter.class)
	protected ECSpec ecSpec;
	
	public String getEcSpecName() {
		return ecSpecName;
	}

	public void setEcSpecName(String ecSpecName) {
		this.ecSpecName = ecSpecName;
	}

	public ECSpec getEcSpec() {
		return ecSpec;
	}

	public void setEcSpec(ECSpec ecSpec) {
		this.ecSpec = ecSpec;
	}
}
